import http from '@/api/http'

// 获取文章列表
function getBookList(params) {
  return http.getReq({
    url: '/blog/getBlogList',
    params: params
  });
}
// 获取文章内容
function getBlogInfo(params) {
  return http.getReq({
    url: '/blog/getBlogInfo',
    params: params
  });
}
// 获取文章内容
function addBlog(params) {
  return http.getReq({
    url: '/blog/addBlog',
    params: params
  });
}
export default {
  getBookList,
  getBlogInfo,
  addBlog
}


